package com.bitao.enums;

import lombok.Data;
import lombok.Getter;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * Author:  LiuTao
 * Version: 1.0
 * Date:    2025-05-22  12:04
 */
@Getter
public enum UserIdentity {

    ORDINARY(1,"普通用户"),

    ADMIN(2, "管理员");

    private Integer value;

    private String msg;


    UserIdentity(int code, String msg) {
        this.value = code;
        this.msg = msg;
    }
}
